<%--
  Created by IntelliJ IDEA.
  User: 曾幼九
  Date: 2023/3/7
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登陆成功页面</title>
</head>
<body>

<%
    if(request.getSession().getAttribute("USER_SESSION") == null)
       // pageContext.forward( request.getContextPath() + "/login.jsp");
        response.sendRedirect(request.getContextPath() + "/error.jsp");
%>

<h1>主页</h1>
<a href="/LoginSystem/servlet/logout">注销</a>


</body>
</html>
